package model.entity;

public class Category {
    private int id;
    private String name;
    private int type;
    private int sort;
    private int status;
    private String create_time;
    private String update_time;
    private int create_user;
    private int update_user;

    public Category() {
    }

    public Category(int id, String name, int type, int sort, int status, String create_time, String update_time, int create_user, int update_user) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.sort = sort;
        this.status = status;
        this.create_time = create_time;
        this.update_time = update_time;
        this.create_user = create_user;
        this.update_user = update_user;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return type
     */
    public int getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(int type) {
        this.type = type;
    }

    /**
     * 获取
     * @return sort
     */
    public int getSort() {
        return sort;
    }

    /**
     * 设置
     * @param sort
     */
    public void setSort(int sort) {
        this.sort = sort;
    }

    /**
     * 获取
     * @return status
     */
    public int getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(int status) {
        this.status = status;
    }

    /**
     * 获取
     * @return create_time
     */
    public String getCreate_time() {
        return create_time;
    }

    /**
     * 设置
     * @param create_time
     */
    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    /**
     * 获取
     * @return update_time
     */
    public String getUpdate_time() {
        return update_time;
    }

    /**
     * 设置
     * @param update_time
     */
    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    /**
     * 获取
     * @return create_user
     */
    public int getCreate_user() {
        return create_user;
    }

    /**
     * 设置
     * @param create_user
     */
    public void setCreate_user(int create_user) {
        this.create_user = create_user;
    }

    /**
     * 获取
     * @return update_user
     */
    public int getUpdate_user() {
        return update_user;
    }

    /**
     * 设置
     * @param update_user
     */
    public void setUpdate_user(int update_user) {
        this.update_user = update_user;
    }

    public String toString() {
        return "Category{id = " + id + ", name = " + name + ", type = " + type + ", sort = " + sort + ", status = " + status + ", create_time = " + create_time + ", update_time = " + update_time + ", create_user = " + create_user + ", update_user = " + update_user + "}";
    }
}
